import request from "@/utils/request";
export const queryPage = "/icps/system/sign/basics/station/QueryPage";
export const batchUpdateOrDelete = "/icps/system/sign/basics/station/deletes";
export const saveOrUpdate = "/icps/system/sign/basics/station/saveOrUpdate";
export const updateSortNum = "";
export const Download = "/icps/system/sign/basics/station/exportStation";
export function querysitePage() {
  let data = {
    page: 1,
    pageSize: 999999,
  };
  return request({
    url: "/icps/system/sign/basics/station/QueryPage",
    method: "post",
    data,
  });
}
/*生产线*/
export function saveOrUpdateProductLine(data) {
  return request({
    url: "/icps/system/sign/basics/station/saveOrUpdateProductLine",
    method: "post",
    data,
  });
}
export function getusewarehousearr(data) {
  return request({
    url: "/icps/system/sign/basics/station/queryListsByStationId ",
    method: "post",
    data,
  });
}
export function getPLByStationId(data) {
  return request({
    url: "/icps/system/sign/basics/station/getPLByStationId",
    method: "post",
    data,
  });
}
/*使用仓数据*/
export function wareusehousePage(data) {
  return request({
    url: "/icps/system/sign/basics/station/getListByStationId",
    method: "post",
    data,
  });
}
export function wareusehousesaveOrUpdate(data) {
  return request({
    url: "/icps/system/sign/basics/station/saveOrUpdateUseBank",
    method: "post",
    data,
  });
}
export function queryListsByStationId(data) {
  return request({
    url: "/icps/system/sign/basics/warehouse/getListByStationId",
    method: "post",
    data,
  });
}

/*库存仓数据*/
export function warehousePage(data) {
  return request({
    url: "/icps/system/sign/basics/warehouse/getListByStationId",
    method: "post",
    data,
  });
}
export function warehousesaveOrUpdate(data) {
  return request({
    url: "/icps/system/sign/basics/warehouse/saveOrUpdate",
    method: "post",
    data,
  });
}
/*浆水池维护*/
export function getListByPid(data) {
  return request({
    url: "/icps/system/sign/basics/seriflux/getListByPid",
    method: "post",
    data,
  });
}
export function saveseriflux(data) {
  return request({
    url: "/icps/system/sign/basics/seriflux/save",
    method: "post",
    data,
  });
}
/**查询编码是否存在 */
export function stationQueryCode(data) {
  return request({
    url: "/icps/system/sign/basics/station/QueryCode",
    method: "post",
    data,
  });
}
